import axios from 'axios'
// const domin = 'http://cs.fengchenyixuan.cn'
axios.show = params => axios.get(`/index.php/index/index/show`, params)
axios.detail = params => axios.post(`/index.php/index/index/opus`, params)
axios.about = params => axios.get(`/index.php/index/index/about`, params)
axios.craft = params => axios.get(`/index.php/index/index/craft`)
axios.vote = params => axios.post(`/index.php/index/index/craft_vote`, params)
export default axios
